call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 2 Jul 2021 15:58:04 +0000 (16:58 +0100)
commit574b919943ae215e7df9a293723d12d62e8bcd97
treef272724b61252401285e82714f94a503a86197f2
parent769bf51755d697b7f2d47426f18cc5695008cde0
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff
src/plugins/sqldrivers/configure.json